module.exports = app => {
	const { Sequelize } = app;
	const menu = app.model.define(
		'menus',
		{
			id: { type: Sequelize.INTEGER, primaryKey: true, autoIncrement: true },
			name: Sequelize.STRING(60),
			path: Sequelize.STRING(100),
			parent_id: Sequelize.INTEGER(11),
			icon: Sequelize.STRING(255),
			title: Sequelize.STRING(255),
			hidden: Sequelize.TINYINT(1),
			always_show: Sequelize.TINYINT(1),
			keep_alive: Sequelize.TINYINT(1),
			target: Sequelize.STRING(20),
			component: Sequelize.STRING(100),
			redirect: Sequelize.STRING(255),
			sort: Sequelize.INTEGER(11),
		},
		{}
	);
	menu.associate = function(models) {
	};
	return menu;
}